package com.ruoyi.project.business.workovertime.service;

import java.util.List;
import com.ruoyi.project.business.workovertime.entity.WorkOvertime;
import com.ruoyi.project.business.workovertime.request.ListWorkOvertimeRequest;
import com.ruoyi.project.business.workovertime.request.AddWorkOvertimeRequest;
import com.ruoyi.project.business.workovertime.response.WorkOvertimeResponse;

/**
 * 加班Service接口
 * 
 * @author ${author}
 * @date 2024-04-23
 */
public interface IWorkOvertimeService {
    /**
     * 查询加班
     *
     * @param id 加班ID
     * @return 加班
     */
    public WorkOvertime selectWorkOvertimeById(Long id);

    /**
     */
    public List<WorkOvertimeResponse> selectWorkOvertimeList(ListWorkOvertimeRequest request, Long tenantId);


    public int insertWorkOvertime(AddWorkOvertimeRequest request, Long operatorId, Long tenantId);

    /**
     * 修改加班
     * 
     * @return 结果
     */
    public int updateWorkOvertime(WorkOvertime entity, Long operatorId, Long tenantId);

    /**
     * 批量删除加班
     * 
     * @return 结果
     */
    public int deleteWorkOvertimeByIds(Long[] ids, Long operatorId, Long tenantId);

    /**
     * 删除加班信息
     * 
     * @return 结果
     */
    public int deleteWorkOvertimeById(Long id, Long operatorId, Long tenantId);
}
